//
//  UITextField+JKInputLimit.h
//  JKCategories (https://github.com/shaojiankui/JKCategories)
//
//  Created by Jakey on 2016/11/29.
//  Copyright © 2016年 www.skyfox.org. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITextField (YHInputLimit)

/// 中文算两个
@property (assign, nonatomic)  NSInteger yh_maxLengthBytes;
/** 全部算一个*/
@property (assign, nonatomic)  NSInteger yh_maxLength;//if <=0, no limit

@property (copy, nonatomic) void(^changeBlock)(void);

@end
